package no.sachmuld.methodcombination.examples.reflection.fragilebaseclass;

import java.util.Arrays;

/**
 *
 */
public class Main implements Runnable {

    @Override
    public void run() {

        InstrumentedHashSet<String> set = new InstrumentedHashSet<>();
        set.addAll(Arrays.asList("Snap", "Crackle", "Pop"));
        System.out.println("count = " + set.getAddCount());


        InstrumentedMethodCombinationHashSet<String> set2 = new InstrumentedMethodCombinationHashSet<>();
        set2.addAll(Arrays.asList("Snap", "Crackle", "Pop"));
        System.out.println("count = " + set2.getAddCount());

    }

    public static void main(String... args) {

        new Main().run();

    }
}
